package com.hhkj.study.admin.goods.service.extend;

import com.hhkj.study.admin.goods.entity.Goods;
import com.hhkj.study.admin.goods.model.podo.GoodsDo;
import com.hhkj.study.admin.goods.model.podo.GoodsPo;
import com.ruoyi.common.base.biz.service.extend.BaseExtendService;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
*
* @author SERVER
* @since 2024-09-18
*/

public interface GoodsExtendService extends BaseExtendService<Goods, GoodsDo, GoodsPo> {

    /**
     * 批量查询上架过的过期/生效商品
     * @param idList
     * @return
     */
    List<GoodsPo> listByIdList(Collection<? extends Serializable> idList);
}